package com.coo.tao.core.dao.impl;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.SqlMapClientTemplate;

import javax.annotation.Resource;
import javax.sql.DataSource;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
 * 
 * User: 李志鹏
 * Date: 2012-5-5
 * Time: 14:49:07
 * To change this template use File | Settings | File Templates.
 */
public class BaseDao {

    public final static Logger log = LogManager.getLogger(BaseDao.class);
    @Resource(name="sqlSessionTemplate")
    private  SqlSessionTemplate sqlSessionTemplate;
	public SqlSessionTemplate getSqlSessionTemplate() {
		return sqlSessionTemplate;
	}
	public void setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate) {
		this.sqlSessionTemplate = sqlSessionTemplate;
	}
    
}
